package bomberman.entity;

import gameframework.game.GameMovable;

import java.awt.Canvas;
import java.awt.Point;
import java.awt.Rectangle;

import bomberman.BombermanGameLevel;


public abstract class AbstractWall extends GameMovable implements Wall{
	public AbstractWall(Canvas defaultCanvas, Point pos) {
		setPosition(pos);
	}
	public Point getPos() {
		return super.getPosition();
	}

	public Rectangle getBoundingBox() {
		return (new Rectangle((int)getPos().getX(), (int)getPos().getY(), BombermanGameLevel.SPRITE_SIZE, BombermanGameLevel.SPRITE_SIZE));
	}
}
